package com.lovo.user.esp;

import com.lovo.common.bean.User;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserElasticsearchMapper extends ElasticsearchRepository<User,Integer> {
    List<User> findByUsername(String name);
}
